﻿using Swimj.CommonLib.Attributes;

namespace BaseData.CommonLib.Models;

public class SaleOrderInfoResponseDto
{
    public int Id { get; set; }

    /// <summary>
    /// 销售部单号
    /// </summary>
    [TableColumn(DisplayText = "销售单号")]
    public string? Code { get; set; }

    [TableColumn(DisplayText = "销售单名")] public string? Name { get; set; }

    /// <summary>
    /// 所属客户
    /// </summary>
    public int? CustomerId { get; set; }

    [TableColumn(DisplayText = "客户编号")] public string? CustomerCode { get; set; }

    [TableColumn(DisplayText = "客户名称")] public string? CustomerName { get; set; }

    [TableColumn(DisplayText = "客户单号")] public string? CustomerOrderCode { get; set; }

    /// <summary>
    /// 合同单号
    /// </summary>
    [TableColumn(DisplayText = "合同单号")]
    public string? ContractOrderCode { get; set; }

    /// <summary>
    /// 交付日期
    /// </summary>
    [TableColumn(DisplayText = "交付日期")]
    public DateTime? DeliveryTime { get; set; }

    /// <summary>
    /// 单据类型
    /// </summary>
    public int SaleOrderType { get; set; }

    [TableColumn(DisplayText = "单据类型")] public string? SaleOrderTypeDes { get; set; }

    /// <summary>
    /// 单据状态
    /// </summary>
    public int SaleOrderStatus { get; set; }

    [TableColumn(DisplayText = "单据状态")] public string? SaleOrderStatusDes { get; set; }


    /// <summary>
    /// 描述
    /// </summary>
    public string? Description { get; set; }
}